package com.henu.engineer.dao.entity.student;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author noexcept
 * @date 2021/7/22 17:43
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    String id;

    String name;

    String gender;

    String specialization;

    String contact;

    String identity;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    Date enrollTime;
}
